@import '../../../common/style/mixin.less';

.count {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  margin: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  &Txt {
    display: flex;
    flex-direction: row;
    height: 24px;
    margin-bottom: 2px;

    > span:first-child {
      padding: 0 4px 0 8px;
      background-color: rgba(255, 255, 255, 0.04);
      color: rgba(255, 255, 255, 0.85);
      font-size: 16px;
    }

    > span:nth-child(2) {
      display: inline-block;
      width: 8px;
      height: 24px;
      background: linear-gradient(-45deg, transparent 4px, rgba(255, 255, 255, 0.04) 0);
    }
  }

  &Num {
    font-size: 18px;
    color: #2fb0ff;
  }

  .corner {
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 8px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.45);
    z-index: 2;
  }
}

.classCount {
  margin: 16px 8px 0 8px;
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  align-items: stretch;

  .classify {
    flex: 1;
    display: flex;
    flex-direction: row;

    .icon {
      width: 40px;
      height: 40px;
      background-color: rgba(255, 255, 255, 0.04);
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      > img {
        position: absolute;
      }
    }

    .content {
      flex: 1;
      margin-left: 8px;
      display: flex;
      flex-direction: column;
      align-items: center;

      > span:nth-child(1) {
        font-size: 14px;
        line-height: 22px;
        color: rgba(255, 255, 255, 0.65);
      }
      > span:nth-child(2) {
        width: 100%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.12);
      }
      > span:nth-child(3) {
        font-size: 14px;
        line-height: 22px;
      }
    }
  }
}

.divide {
  margin: 0 8px;
  height: 4px;
  background: url('../images/分割线.png');
  background-size: cover;
}

.listTitle {
  margin-top: 24px;
  margin-bottom: 16px;
  margin-left: 8px;
  display: flex;
  align-items: center;
}

.list {
  // max-height: 200px;
  max-height: calc(100vh - 900px);
  .beautify-scrollbar();
  overflow: scroll;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  &Item {
    line-height: 32px;
    height: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 16px;
    margin-bottom: 8px;
    border: 1px solid rgba(47, 176, 255, 0.2);
    background: linear-gradient(270deg, rgba(47, 176, 255, 0.04) 0%, rgba(47, 176, 255, 0) 100%);
    color: rgba(47, 176, 255, 1);
    cursor: pointer;
    transition: all linear 0.2s;

    &Num {
      flex: none;
      width: 48px;
      height: 16px;
      display: flex;
      justify-content: center;
      line-height: 16px;
      border-right: 1px solid rgba(47, 176, 255, 0.12);
    }
    &Name {
      flex: auto;
      padding-left: 16px;
      text-align: right;
      .limit-lengtgh-text();
    }
    &Active {
      border-left: 4px solid rgba(61, 251, 255, 0.4);
      background: linear-gradient(270deg, rgba(61, 251, 255, 0.2) 0%, rgba(61, 251, 255, 0) 100%);
    }
  }
}

.itemType {
  &Title {
    .title {
      display: inline-block;
      width: 96px;
      height: 32px;
      line-height: 32px;
      background: linear-gradient(290deg, transparent 4px, rgba(#ffffff, 0.2) 4px);
      text-align: center;
      color: #ffffff;
      font-size: 16px;
      padding-left: 16px;
      padding-right: 16px;
      margin-right: 8px;
    }
    span {
      color: #2fb0ff;
      font-size: 18px;
    }
  }
  .list3 {
    // padding-left: 0;
    // margin-bottom: 0;
    // list-style: none;
    padding-top: 16px;
    height: calc(100vh - 300px);
    overflow: scroll;
    .beautify-scrollbar();
    &Item {
      cursor: pointer;
      height: 92px;
      padding-top: 4px;
      padding-left: 16px;
      padding-right: 16px;
      margin-bottom: 12px;
      border-left: 4px solid rgba(255, 255, 255, 0.2);
      background: linear-gradient(
        270deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0) 100%
      );
      color: #fff;

      p {
        font-size: 14px;
        font-family: PingFangSC-Medium, PingFang SC;
        font-weight: 500;
        color: #ffffff;
        line-height: 22px;
        margin-bottom: 6px;
      }
      span {
        color: #2fb0ff;
        font-size: 18px;
      }
      &:hover,
      &Active {
        border-left: 4px solid rgba(61, 251, 255, 0.4);
        background: linear-gradient(270deg, rgba(61, 251, 255, 0.2) 0%, rgba(61, 251, 255, 0) 100%);
      }
    }
  }
}

.statics {
  // height: 600px;
  height: calc(100vh - 300px);
  .beautify-scrollbar();
  overflow: scroll;
  .item2 {
    position: relative;
    color: #fff;
    &::before {
      position: absolute;
      left: 50%;
      top: 0;
      content: '';
      width: 1px;
      height: 100%;
      background: rgba(#ffffff, 0.12);
    }
    &Title {
      font-size: 16px;
      font-family: AlibabaPuHuiTi-Medium, AlibabaPuHuiTi;
      font-weight: 500;
      color: #ffffff;
      margin-bottom: 8px;
    }
    &Content {
      margin-bottom: 20px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    &Block {
      display: flex;
      justify-content: space-between;
      padding-right: 16px;
      padding-left: 16px;
      width: 50%;
      font-size: 14px;
      font-weight: 500;
      color: rgba(#ffffff, 0.65);
      span {
        display: block;
        width: 60px;
        color: #2fb0ff;
        text-align: right;
      }
      p {
        width: 94px;
        margin-bottom: 6px;
      }
    }
  }
}
